package cn.iocoder.yudao.module.erp.controller.admin.finance.vo.cashFlow;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@Schema(description = "管理后台 - ERP 现金流 VO")
public class ErpFinanceCashFlowVO {
    @Schema(description = "现金流编号", example = "1")
    private Long id;

    @Schema(description = "现金流名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "支付的税费")
    @NotBlank(message = "现金流名称不能为空")
    private String name;

    @Schema(description = "现金流类别", requiredMode = Schema.RequiredMode.REQUIRED, example = "经营活动产生的现金流量")
    private String category;

    @Schema(description = "助记码", requiredMode = Schema.RequiredMode.REQUIRED, example = "zfdsf")
    @NotBlank(message = "现金流名称不能为空")
    private String code;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "税费")
    private String remark;
}
